package com.njwb.dao;

import com.njwb.entity.User;

/**
 * Description: 类的描述
 * Author: yuandeyin@itany.com
 * Date: 2025-08-12 13:38
 * Version: 1.0
 */
public interface UserDao {
    /**
     * 保存用户
     * @param user
     * @return
     */
    int insert(User user);

    /**
     * 根据手机号码查询用户
     * @param phone
     * @return
     */
    User findByPhone(String phone);

}
